<include file="Public:header" />

<div class="page-content">
    <!-- content starts -->
    <div class="cig-page-header">
        <h1>权限管理</h1>
    </div>
    <div class="row">
        <div class="box col-xs-12">
            <div class="box-inner">
                <div class="cig-box-header clearfix">
                    <div class="col-xs-6 ad-sel">
                    </div>
                    <div class="col-xs-6 button-con">
                        <div class="cig-txt-right"> <a href="{:U('Purview/add')}" class="btn btn-success cig-btn-lg"><i class="fa fa-hand-o-right"></i>添加权限</a> </div>
                    </div>
                </div>
                <div class="box-content">
                    <div class="row">
                        <div class="col-xs-12">
                        </div>
                        <div class="col-xs-12">
                            <table id="sample-table-2" class="table table-striped table-bordered table-hover dataTable" aria-describedby="sample-table-2_info">
                                <thead>
                                <!--<tr role="row">-->
                                    <!--<th>PID</th>-->
                                    <!--<th>Title</th>-->
                                    <!--<th>Date</th>-->
                                    <!--<th>Status</th>-->
                                    <!--<th>Operation</th>-->
                                <!--</tr>-->
                                </thead>
                                <tbody>
                                <foreach name="list" key="k" item="val">
                                    <tr>
                                        <foreach name="val" item="v">
                                            <td>{$v.name}
                                                <span class="action-buttons">
                                                    <a href="{:U('/Purview/edit',array('id'=>$v[id]))}" class="green" title="编辑">
                                                        <i class="ace-icon fa fa-pencil bigger-110"></i>
                                                    </a>
                                                    <a id="" class="dark" href="{:U('/Purview/delete',array('id'=>$v[id]))}" title="删除">
                                                        <i class="ace-icon fa fa-trash-o bigger-120"></i>
                                                    </a>
                                                </span>
                                            </td>
                                        </foreach>
                                    </tr>
                                </foreach>

                                </tbody>
                            </table>
                        </div>

                    </div>
                </div>
            </div>
        </div>
    </div>

    <!--/row-->

</div>
<!--content-->
<div> </div>

<include file="Public:footer" />
